<%@page import="java.util.Calendar"%>
<%@page import="java.text.SimpleDateFormat"%>
<% 	String context=request.getContextPath();
		String resource=context+"/static/";
		String jsp=context+"/jsp/";
		String imgPath=context+"/static/dist/img/template/";
		request.setAttribute("context",context);
		request.setAttribute("resource",resource);
		request.setAttribute("jsp",jsp);
		request.setAttribute("imgPath",imgPath);
		//cache rand para 
		String rand=new SimpleDateFormat("yyyyMMdd").format(Calendar.getInstance().getTime());
		request.setAttribute("rand",rand);
	%>
	<script>
	var context="<%=context%>";
	var imgPath="<%=imgPath%>";
	</script>